package com.example.demo;

import javax.annotation.Resource;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.example.service.UserService;

@Controller
public class Demo2 {
	@RequestMapping("/demo2")
	@ResponseBody
	public String demo2(){
		System.out.println("hahhah");
		return "demo2";
	}

}
